<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta name="renderer" content="webkit">

    <title>Document</title>
    <link rel="stylesheet" th:href="@{/lib/layui/css/layui.css}">
    <link rel="stylesheet" th:href="@{/css/lx/xcfafang.css}">
    <!--<script th:src="@{/lib/layui/lay/modules/layer.js}"></script>-->
    <script th:src="@{/js/jquery-3.6.0.js}"></script>
    <script th:src="@{/lib/layui/layui.js}"></script>
    <script th:src="@{/js/lx/fafangguanlimingxi.js}"></script>
</head>

<body>

<div class="xcbox">
    <form action="/xc/update" class="layui-form">
        <div class="layui-form-item">
            <div class="xcbox3">
                <button type="button" class="layui-btn" onclick="butt()" lay-submit="" lay-filter="demo1">提交审核</button>
                <button type="button" class="layui-btn layui-btn-primary" onclick="fan()">返回</button>
            </div>
        </div>

        <div class="xcbox2">
            <table class="layui-table table-detail">
                <tr>
                    <td>序号</td>
                    <td>档案编码</td>
                    <td>姓名</td>
                    <td>基本工资</td>
                    <td>绩效工资</td>
                    <td>交通补助</td>
                    <td>通讯补助</td>
                    <td>餐补</td>
                    <td>住房补助</td>
                    <td>出差补助</td>
                    <td>加班补助</td>
                    <td>应扣金额</td>
                </tr>
                <tr th:each="sd,infod : ${show}">
                    <input type="hidden" name="id" class="form-table-id" th:value="${sd.getId()}"/>
                    <input type="hidden" name="lid" class="form-table-lid" th:value="${sd.getLid()}"/>
                    <input type="hidden" name="fid" class="form-table-fid" th:value="${sd.getFid()}"/>
                    <td th:text="${infod.count}"></td>
                    <td>
                        <div>
                            <input type="text" name="dcoder" class="layui-input from-table-dcoder" th:value="${sd.getDcoder()}" readonly/>
                        </div>
                    </td>
                    <td>
                        <div>
                            <input type="text" name="name" class="layui-input form-table-name" th:value="${sd.getName()}" readonly/>
                        </div>
                    </td>
                    <td>
                        <div>
                            <input type="text" name="basePay" class="layui-input form-table-basePay" th:value="${sd.getBasePay()}" readonly/>
                        </div>
                    </td>
                    <td>
                        <div>
                            <input type="text" name="jxPay" class="layui-input form-table-jxPay" th:value="${sd.getJxPay()}" th:if="${pa}"/>
                            <input type="text" name="jxPay" class="layui-input form-table-jxPay" th:value="${sd.getJxPay()}" th:if="${!pa}" readonly/>
                        </div>
                    </td>
                    <td>
                        <div>
                            <input type="text" name="jtSubsidy" class="layui-input form-table-jtSubsidy" th:value="${sd.getJtSubsidy()}" readonly/>
                        </div>
                    </td>
                    <td>
                        <div>
                            <input type="text" name="txSubsidy" class="layui-input form-table-txSubsidy" th:value="${sd.getTxSubsidy()}" readonly/>
                        </div>
                    </td>
                    <td>
                        <div>
                            <input type="text" name="mealSubsidy" class="layui-input form-table-mealSubsidy" th:value="${sd.getMealSubsidy()}" readonly/>
                        </div>
                    </td>
                    <td>
                        <div>
                            <input type="text" name="zfSubsidy" class="layui-input form-table-zfSubsidy" th:value="${sd.getZfSubsidy()}" readonly/>
                        </div>
                    </td>
                    <td>
                        <div>
                            <input type="text" name="ccSubsidy" class="layui-input form-table-ccSubsidy" th:value="${sd.getCcSubsidy()}" th:if="${pa}"/>
                            <input type="text" name="ccSubsidy" class="layui-input form-table-ccSubsidy" th:value="${sd.getCcSubsidy()}" th:if="${!pa}" readonly/>
                        </div>
                    </td>
                    <td>
                        <div>
                            <input type="text" name="jbSubsidy" class="layui-input form-table-jbSubsidy" th:value="${sd.getJbSubsidy()}" th:if="${pa}"/>
                            <input type="text" name="jbSubsidy" class="layui-input form-table-jbSubsidy" th:value="${sd.getJbSubsidy()}" th:if="${!pa}" readonly/>
                        </div>
                    </td>
                    <td>
                        <div>
                            <input type="text" name="money" class="layui-input form-table-money" th:value="${sd.getMoney()}" th:if="${pa}"/>
                            <input type="text" name="money" class="layui-input form-table-money" th:value="${sd.getMoney()}" th:if="${!pa}" readonly/>
                        </div>
                    </td>
                </tr>
            </table>
        </div>
    </form>
</div>

</body>

</html>